package com.kexilo.core.role.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 角色和菜单关联 kx_sys_role_menu
 * 
 * @author Kexilo
 */
@TableName("kx_sys_role_menu")
public class SysRoleMenu {
    
    /** 角色ID */
    @TableId
    private Long roleId;
    
    /** 菜单ID */
    private Long menuId;
    
    public SysRoleMenu() {
        
    }
    
    public SysRoleMenu(Long roleId, Long menuId) {
        this.roleId = roleId;
        this.menuId = menuId;
    }
    
    // Getter methods
    public Long getRoleId() {
        return roleId;
    }
    
    public Long getMenuId() {
        return menuId;
    }
    
    // Setter methods
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
    
    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }
}